package org.dromara.system.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.system.domain.Brand;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


/**
 * 品牌视图对象 brand
 *
 * @author Lion Li
 * @date 2025-07-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Brand.class)
public class BrandVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long userId;

    /**
     * 编码
     */
    @ExcelProperty(value = "编码")
    private String code;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    private String brandName;

    /**
     * 图片
     */
    @ExcelProperty(value = "图片")
    private String image;


    /**
     * 图片Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "image")
    private String imageUrl;


    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


    private String userName;

    private Date createTime;

    /*
     * 产品线列表
     * */
    private List<ProductsLineVo> productsLineVos;


}
